package com.ruoyi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.domain.entity.Comment;
import com.ruoyi.domain.vo.CommentPageVo;

import java.util.List;

public interface CommentService extends IService<Comment> {

    void addComment(Comment comment);

    CommentPageVo getCommentPageVo(Integer postId, Integer pageNo, Integer pageSize);

    void likeOrCancelLike(Integer commentId);

    void deleteComment(Integer commentId);
}